control
Class Compute

java.lang.Object
  extended by control.Compute

public class Compute
extends java.lang.Object

Computes the graphical output to view on GUI

Author:

Field Summary
static State s
          Current state which stores the field variables
 
Constructor Summary
Compute()
           
 
Method Summary
static org.jfree.chart.JFreeChart getattendancerate()
          Calculates graph for the attendance rate
static org.jfree.chart.JFreeChart getdefaultgraph()
          Calculates graph for the park attendance (success rate) for the set amount of weeks
static org.jfree.chart.JFreeChart getexperience()
          Calculates graph for the experience percentage vs the success rate
static org.jfree.chart.JFreeChart getgameperc()
          Calculates graph for the game percentage vs the success rate
static org.jfree.chart.JFreeChart getiqgraph()
          Calculates graph for the iq of the individual vs the success rate
static org.jfree.chart.JFreeChart getnumfriends()
          Calculates graph for the number of friends vs the success rate
static org.jfree.chart.JFreeChart getskilllevel()
          Calculates graph for the skill level vs the success rate
static org.jfree.chart.JFreeChart getweatherpref()
          Calculates graph for the weather preference vs the success rate
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

s

public static State s
Current state which stores the field variables

Constructor Detail

Compute

public Compute()
Method Detail

getdefaultgraph

public static org.jfree.chart.JFreeChart getdefaultgraph()
Calculates graph for the park attendance (success rate) for the set amount of weeks

Returns:

getnumfriends

public static org.jfree.chart.JFreeChart getnumfriends()
Calculates graph for the number of friends vs the success rate

Returns:

getgameperc

public static org.jfree.chart.JFreeChart getgameperc()
Calculates graph for the game percentage vs the success rate

Returns:

getweatherpref

public static org.jfree.chart.JFreeChart getweatherpref()
Calculates graph for the weather preference vs the success rate

Returns:

getskilllevel

public static org.jfree.chart.JFreeChart getskilllevel()
Calculates graph for the skill level vs the success rate

Returns:

getexperience

public static org.jfree.chart.JFreeChart getexperience()
Calculates graph for the experience percentage vs the success rate

Returns:

getattendancerate

public static org.jfree.chart.JFreeChart getattendancerate()
Calculates graph for the attendance rate

Returns:

getiqgraph

public static org.jfree.chart.JFreeChart getiqgraph()
Calculates graph for the iq of the individual vs the success rate

Returns: